package blog.spring.db.dao.impl;

import org.springframework.stereotype.Repository;

import blog.spring.db.dao.ITypeDAO;
import blog.spring.db.entity.Type;

@Repository("typeDao")
public class TypeDAO extends BaseDAO<Type> implements ITypeDAO {

	@Override
	public Type selectByName(String name) {
		return super.selectByName("title", name);
	}

}
